package com.red.selling.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.red.common.annotation.Excel;
import com.red.common.core.domain.BaseEntity;

/**
 * 销售送货单对象 red_delivery
 * 
 * @author bug2222
 * @date 2024-11-20
 */
public class RedDelivery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 送货单号 */
    @Excel(name = "送货单号")
    private String deliveryNumber;

    /** 送货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "送货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryDate;

    /** 出货仓库 */
    private Long warehouse;

    /** 客户 */
    @Excel(name = "客户")
    private Long customeId;

    /** 客户地址 */
    private String customeAddress;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    /** 联系电话 */
    private String contactNumber;

    /** 客户传真 */
    private String customFax;

    /** 单据备注 */
    @Excel(name = "单据备注")
    private String memo;

    /** 送货地址 */
    private String deliveryAddress;

    /** 合同号码 */
    private String contractNumber;

    /** 发票号码 */
    private String invoiceNumber;

    /** 付款方式 */
    private String payment;

    /** 送货司机 */
    private String diver;

    /** 快递信息 */
    private String courier;

    /** 包装员 */
    private String packer;

    /** 物流单号 */
    private String logistic;

    /** 运费 */
    private String freight;

    /** 打印状态 */
    @Excel(name = "打印状态")
    private String printStatus;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditsStatus;

    private String delFlag;

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    /** 销售送货单子信息 */
    private List<RedDeliverySub> redDeliverySubList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeliveryNumber(String deliveryNumber) 
    {
        this.deliveryNumber = deliveryNumber;
    }

    public String getDeliveryNumber() 
    {
        return deliveryNumber;
    }
    public void setDeliveryDate(Date deliveryDate) 
    {
        this.deliveryDate = deliveryDate;
    }

    public Date getDeliveryDate() 
    {
        return deliveryDate;
    }
    public void setWarehouse(Long warehouse) 
    {
        this.warehouse = warehouse;
    }

    public Long getWarehouse() 
    {
        return warehouse;
    }
    public void setCustomeId(Long customeId) 
    {
        this.customeId = customeId;
    }

    public Long getCustomeId() 
    {
        return customeId;
    }
    public void setCustomeAddress(String customeAddress) 
    {
        this.customeAddress = customeAddress;
    }

    public String getCustomeAddress() 
    {
        return customeAddress;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setContactNumber(String contactNumber) 
    {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() 
    {
        return contactNumber;
    }
    public void setCustomFax(String customFax) 
    {
        this.customFax = customFax;
    }

    public String getCustomFax() 
    {
        return customFax;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setDeliveryAddress(String deliveryAddress) 
    {
        this.deliveryAddress = deliveryAddress;
    }

    public String getDeliveryAddress() 
    {
        return deliveryAddress;
    }
    public void setContractNumber(String contractNumber) 
    {
        this.contractNumber = contractNumber;
    }

    public String getContractNumber() 
    {
        return contractNumber;
    }
    public void setInvoiceNumber(String invoiceNumber) 
    {
        this.invoiceNumber = invoiceNumber;
    }

    public String getInvoiceNumber() 
    {
        return invoiceNumber;
    }
    public void setPayment(String payment) 
    {
        this.payment = payment;
    }

    public String getPayment() 
    {
        return payment;
    }
    public void setDiver(String diver) 
    {
        this.diver = diver;
    }

    public String getDiver() 
    {
        return diver;
    }
    public void setCourier(String courier) 
    {
        this.courier = courier;
    }

    public String getCourier() 
    {
        return courier;
    }
    public void setPacker(String packer) 
    {
        this.packer = packer;
    }

    public String getPacker() 
    {
        return packer;
    }
    public void setLogistic(String logistic) 
    {
        this.logistic = logistic;
    }

    public String getLogistic() 
    {
        return logistic;
    }
    public void setFreight(String freight) 
    {
        this.freight = freight;
    }

    public String getFreight() 
    {
        return freight;
    }
    public void setPrintStatus(String printStatus) 
    {
        this.printStatus = printStatus;
    }

    public String getPrintStatus() 
    {
        return printStatus;
    }
    public void setAuditsStatus(String auditsStatus) 
    {
        this.auditsStatus = auditsStatus;
    }

    public String getAuditsStatus() 
    {
        return auditsStatus;
    }

    public List<RedDeliverySub> getRedDeliverySubList()
    {
        return redDeliverySubList;
    }

    public void setRedDeliverySubList(List<RedDeliverySub> redDeliverySubList)
    {
        this.redDeliverySubList = redDeliverySubList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deliveryNumber", getDeliveryNumber())
            .append("deliveryDate", getDeliveryDate())
            .append("warehouse", getWarehouse())
            .append("customeId", getCustomeId())
            .append("customeAddress", getCustomeAddress())
            .append("contact", getContact())
            .append("contactNumber", getContactNumber())
            .append("customFax", getCustomFax())
            .append("memo", getMemo())
            .append("deliveryAddress", getDeliveryAddress())
            .append("contractNumber", getContractNumber())
            .append("invoiceNumber", getInvoiceNumber())
            .append("payment", getPayment())
            .append("diver", getDiver())
            .append("courier", getCourier())
            .append("packer", getPacker())
            .append("logistic", getLogistic())
            .append("freight", getFreight())
            .append("printStatus", getPrintStatus())
            .append("auditsStatus", getAuditsStatus())
            .append("delFlag", getDelFlag())
            .append("redDeliverySubList", getRedDeliverySubList())
            .toString();
    }
}
